package com.mindbook.vip.gawxchatinfo;

import cn.shuibo.annotation.EnableSecurity;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@MapperScan("com.mindbook.vip.gawxchatinfo.mapper")
@SpringBootApplication
@EnableSecurity
public class GaWxchatInfoApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(GaWxchatInfoApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(GaWxchatInfoApplication.class);
    }
}
